local CheckWidgetType = UI.CheckWidgetType
local CheckArgType = UI.CheckArgType
local CheckArgWidget = UI.CheckArgWidget
local MakeAccessor = UI.MakeAccessor
local MakeTypeSetter = UI.MakeTypeSetter

--[[ PlayerModel @FIXME ]]--
local PlayerModel = UI.NewWidgetType("PlayerModel", "Model")
PlayerModel.parameters = {
	unit = false,
	rotation = false,
}

function PlayerModel:Initialize(o)
	local t = UI.params[o]
	assert(t)
end

MakeTypeSetter("PlayerModel", "SetRotation", "rotation", "number")
MakeTypeSetter("PlayerModel", "SetUnit", "unit", "string")
